﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevExpress.Xpo;

namespace WROA.Models.Entitys
{
    /// <summary>
    /// 角色表
    /// </summary>
    public class Role : XPObject
    {
        private string ro_name;
        [DbType("nvarchar(50)")]
        public string Ro_name { get; set; }

        [Association("RoleUser", typeof(Users))]
        public XPCollection users
        {
            get
            {
                return GetCollection("users");
            }
        }

    }
}